package com.lynn.blog.service;

import com.lynn.blog.dto.RegisterDTO;
import com.mybatisflex.core.service.IService;
import com.lynn.blog.entity.User;

/**
 *  服务层。
 *
 * @author root
 * @since 2024-07-15
 */
public interface UserService extends IService<User> {

    String register(RegisterDTO dto);

    String login(String username, String password);
}
